package com.zhuss.core.datasource2.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.core.community.SearchlCommunityBo;
import com.zhuss.bean.vo.core.community.DetaillCommunityVo;
import com.zhuss.bean.vo.core.community.ListlCommunityVo;
import com.zhuss.core.datasource1.entity.Village;
import com.zhuss.core.datasource2.dao.gen.lCommunityMapper;
import com.zhuss.core.datasource2.entity.lCommunity;

/**
 * @description: 数据库Dao
 * @author: zhushanshuo
 * @create: Sat May 29 11:59:11 CST 2021
 **/

@Mapper
public interface lCommunityDao extends lCommunityMapper {
	
	List<Village> queryList(@Param("maxIncr") Long maxIncr);
	
	
	void create(lCommunity record);
	
	void delete(lCommunity record);

	List<lCommunity> listAll();

	List<lCommunity> listById(@Param("lCommunityIdList") List<Long> lCommunityIdList);
	
	List<lCommunity> listByName(@Param("name") String name);
	
	List<ListlCommunityVo> list(SearchlCommunityBo bo);
	
	Integer countList(SearchlCommunityBo bo);

	DetaillCommunityVo detail(@Param("lCommunityId") Long lCommunityId);

}
